package com.zqh.orderud.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zqh.myfmmall.entity.Orders;
import com.zqh.orderud.dao.OrderDao;
import com.zqh.orderud.service.OrderUDService;
import org.springframework.stereotype.Service;

/**
 * @Description :
 * @Author :kono淇杭哒、
 * @Create 2022-02-18 2:19
 */
@Service("orderUDService")
public class OrderUDServiceImpl extends ServiceImpl<OrderDao, Orders> implements OrderUDService{

    @Override
    public Orders getOrderStatus(String orderId) {
        return query().eq("order_id",orderId).select("order_id","status").one();
    }
}
